Optimal. Leaf size=55 \[ \frac {\left (a e^2+c d^2\right ) \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {d} e^{5/2}}-\frac {c d x}{e^2}+\frac {c x^3}{3 e} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {1154, 205} \begin {gather*} \frac {\left (a e^2+c d^2\right ) \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {d} e^{5/2}}-\frac {c d x}{e^2}+\frac {c x^3}{3 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 1154
Rubi steps
\begin {align*} \int \frac {a+c x^4}{d+e x^2} \, dx &=\int \left (-\frac {c d}{e^2}+\frac {c x^2}{e}+\frac {c d^2+a e^2}{e^2 \left (d+e x^2\right )}\right ) \, dx\\ &=-\frac {c d x}{e^2}+\frac {c x^3}{3 e}+\left (a+\frac {c d^2}{e^2}\right ) \int \frac {1}{d+e x^2} \, dx\\ &=-\frac {c d x}{e^2}+\frac {c x^3}{3 e}+\frac {\left (c d^2+a e^2\right ) \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {d} e^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 55, normalized size = 1.00 \begin {gather*} \frac {\left (a e^2+c d^2\right ) \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {d} e^{5/2}}-\frac {c d x}{e^2}+\frac {c x^3}{3 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a+c x^4}{d+e x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.11, size = 131, normalized size = 2.38 \begin {gather*} \left [\frac {2 \, c d e^{2} x^{3} - 6 \, c d^{2} e x - 3 \, {\left (c d^{2} + a e^{2}\right )} \sqrt {-d e} \log \left (\frac {e x^{2} - 2 \, \sqrt {-d e} x - d}{e x^{2} + d}\right )}{6 \, d e^{3}}, \frac {c d e^{2} x^{3} - 3 \, c d^{2} e x + 3 \, {\left (c d^{2} + a e^{2}\right )} \sqrt {d e} \arctan \left (\frac {\sqrt {d e} x}{d}\right )}{3 \, d e^{3}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 44, normalized size = 0.80 \begin {gather*} \frac {{\left (c d^{2} + a e^{2}\right )} \arctan \left (\frac {x e^{\frac {1}{2}}}{\sqrt {d}}\right ) e^{\left (-\frac {5}{2}\right )}}{\sqrt {d}} + \frac {1}{3} \, {\left (c x^{3} e^{2} - 3 \, c d x e\right )} e^{\left (-3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 57, normalized size = 1.04 \begin {gather*} \frac {c \,x^{3}}{3 e}+\frac {a \arctan \left (\frac {e x}{\sqrt {d e}}\right )}{\sqrt {d e}}+\frac {c \,d^{2} \arctan \left (\frac {e x}{\sqrt {d e}}\right )}{\sqrt {d e}\, e^{2}}-\frac {c d x}{e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.55, size = 47, normalized size = 0.85 \begin {gather*} \frac {{\left (c d^{2} + a e^{2}\right )} \arctan \left (\frac {e x}{\sqrt {d e}}\right )}{\sqrt {d e} e^{2}} + \frac {c e x^{3} - 3 \, c d x}{3 \, e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 45, normalized size = 0.82 \begin {gather*} \frac {c\,x^3}{3\,e}+\frac {\mathrm {atan}\left (\frac {\sqrt {e}\,x}{\sqrt {d}}\right )\,\left (c\,d^2+a\,e^2\right )}{\sqrt {d}\,e^{5/2}}-\frac {c\,d\,x}{e^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.32, size = 104, normalized size = 1.89 \begin {gather*} - \frac {c d x}{e^{2}} + \frac {c x^{3}}{3 e} - \frac {\sqrt {- \frac {1}{d e^{5}}} \left (a e^{2} + c d^{2}\right ) \log {\left (- d e^{2} \sqrt {- \frac {1}{d e^{5}}} + x \right )}}{2} + \frac {\sqrt {- \frac {1}{d e^{5}}} \left (a e^{2} + c d^{2}\right ) \log {\left (d e^{2} \sqrt {- \frac {1}{d e^{5}}} + x \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________